{capture name="hidden"}		
		<input name="body" type="hidden" value="{$smarty.session.body}">
		<input name="admin" type="hidden" value="1">
		<input name="mod" type="hidden" value="admins">
		<input name="act" type="hidden" value="add">
		<input name="referer" type="hidden" value="{ext->get_referer}">
{/capture}				
{capture name="fields"}
<!-- * -->
		<table width="100%" cellpadding="3" cellspacing="0">
			<tr>
				<td width="35%" height="1"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td><img src="client/img/spacer.gif" class="spacer" alt="" /></td>					
			</tr>
			<tr>
				<td>{t t='username01'}:</td>
				<td><input name="login" type="text" value="" class="defaultInputText"></td>
			</tr>
			<tr>
				<td height="3" colspan="2">
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>{t t='password01'}:</td>
				<td ><input name="pass1" type="password" value="" class="defaultInputText"></td>
			</tr>
			<tr>
				<td height="3" colspan="2">
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>{t t='repeat_password'}:</td>
				<td><input name="pass2" type="password" value="" class="defaultInputText"></td>
			</tr>					
			<tr>
				<td height="3" colspan="2">
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>
			<input type="hidden" name="permission[]" value="0">
			<input type="hidden" name="permission[]" value="2">
			{if isset($_var.type) && $_var.type == 1}
			<input type="hidden" name="permission[]" value="1">
			{else}
			<tr>
				<td><strong>{t t='admin_permissions'}:</strong></td>
			</tr>
			<tr>
				<td align="right"><input type="checkbox" name="permission[]" value="1" checked></td>
				<td>{t t='control_other_admins'}.</td>
			</tr>	
			<tr>
				<td height="3" colspan="2">
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>
			{/if}
			{ext->get_users_fields users="admins01" assign="admins_fields"}
			{foreach from=$admins_fields item="el"}
			<tr>
				<td>{t t=$el.name}:</td>
				<td><input name="{$el.name}" type="text" value="" class="defaultInputText"></td>
			</tr>		
			<tr>
				<td height="3" colspan="2">
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td height="1" bgcolor="#D1D8DB"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
				</table>
				</td>
			</tr>		
			{/foreach}
		</table>	
<!-- /* -->
{/capture}